using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._Fields
{
    /// <summary>
    /// <para>Disable COGO</para>
    /// <para>Disables COGO  on a line feature class and removes COGO fields and COGO-enabled labeling and symbology. COGO fields can be deleted.</para>
    /// <para>禁用线要素类上的 COGO，并移除 COGO 字段以及启用 COGO 的标注和符号系统。可以删除 COGO 字段。</para>
    /// </summary>    
    [DisplayName("Disable COGO")]
    public class DisableCOGO : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public DisableCOGO()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_line_features">
        /// <para>Input Line Features</para>
        /// <para>The line feature class that will have COGO disabled.</para>
        /// <para>将禁用 COGO 的线要素类。</para>
        /// </param>
        public DisableCOGO(object _in_line_features)
        {
            this._in_line_features = _in_line_features;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Disable COGO";

        public override string CallName => "management.DisableCOGO";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_line_features, _updated_line_features];

        /// <summary>
        /// <para>Input Line Features</para>
        /// <para>The line feature class that will have COGO disabled.</para>
        /// <para>将禁用 COGO 的线要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Line Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_line_features { get; set; }


        /// <summary>
        /// <para>Updated Input Line features</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Input Line features")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _updated_line_features { get; set; }


        public DisableCOGO SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}